import { defineStore } from 'pinia'

export const useStatee = defineStore('Statee', {
    state: () => ({
        count: 0 ,
        name:'zzu',
        age:18,
        isAdmin: true,
        items: [],


    }),
    getters: {
        double: (state) => state.count * 2,
    },
    actions: {
        increment() {
            this.count++
        },
        actiontest() {
            console.log('正在输出结果')
        },
    },
})